package com.zy.pro.shop.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zy.core.service.impl.ServiceSupport;
import com.zy.pro.shop.dao.ShopUserMapper;
import com.zy.pro.shop.model.ShopUser;
import com.zy.pro.shop.service.ShopUserService;
@Service
public class ShopUserServiceImpl extends ServiceSupport<ShopUser> implements ShopUserService {

	@Autowired
    private ShopUserMapper<ShopUser> mapper;

	public ShopUserMapper<ShopUser> getMapper() {
		return mapper;
	}

	@Override
	public ShopUser findShopUserNameAndPassword(ShopUser user) {
		return mapper.findShopUserNameAndPassword(user);
	}
		
	
}
